<%-- 
    Document   : home
    Created on : Apr 10, 2012, 9:52:48 AM
    Author     : Yudi Retanto
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<jsp:include page="../header.jsp"></jsp:include>
    <!-- Container -->
    <div id="container">
        <div class="shell">
            <!-- Main -->
            <div id="main">
                <div class="cl">&nbsp;</div>
                <!-- Content -->
                <div id="content-info">
                    <!-- Box -->
                    <div class="box">
                        <!-- Box Head -->
                        <div class="box-head">
                            <h2>Cari Info Surveilans</h2>
                        </div>
                        <!-- End Box Head -->
                            <form action="./info?type=tabel" method="post">
                            <!-- Form -->
                            <div class="form">
                                <p class="inline-field">
                                    <label>Parameter</label>
                                    <select id="s-provinsi" onchange="updateProvinsi()" class="field" name="prov">
                                        <option value="0">Seluruh Indonesia</option>
                                        <c:forEach items="${provinsi}" var="p">
                                            <option value="${p.getId()}">${p.getNama()}</option>
                                        </c:forEach>
                                    </select>
                                    <select class="field size2" name="tahun">
                                        <option value="2012">2012</option>
                                    </select>
                                </p>                                                                    
                            </div>
                            <!-- End Form -->                                                    
                            <!-- Form Buttons -->
                            <div class="buttons">
                                <input type="submit" class="button" value="submit" />
                            </div>
                            <!-- End Form Buttons -->
                        </form>
                    </div>
                    <!-- End Box -->
                    <!-- Box -->
                    <div class="box">
                        <!-- Box Head -->
                        <div class="box-head">
                            <h2 class="left">Daftar Penderita Penyakit Berpotensi KLB</h2>
                        </div>
                        <!-- End Box Head -->	
                        <div class="info-map">
                            <script language="javascript"> AC_FL_RunContent = 0; </script>
                            <script language="javascript"> DetectFlashVer = 0; </script>
                            <script src="indonesia/AC_RunActiveContent.js" language="javascript"></script>
                            <script language="JavaScript" type="text/javascript">
                                <!--
                                var requiredMajorVersion = 9;
                                var requiredMinorVersion = 0;
                                var requiredRevision = 45;
                                -->
                            </script>
                            <script language="JavaScript" type="text/javascript">
                                <!--
                                if (AC_FL_RunContent == 0 || DetectFlashVer == 0) {
                                    alert("This page requires AC_RunActiveContent.js.");
                                } else {
                                    var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
                                    if(hasRightVersion) {  // if we've detected an acceptable version
                                        // embed the flash movie
                                        AC_FL_RunContent(
                                        'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,45,0',
                                        'width', '960',
                                        'height', '640',
                                        'base', 'jakarta/',
                                        'src', 'jakarta/StatPlanet',
                                        'quality', 'high',
                                        'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
                                        'align', 'middle',
                                        'play', 'true',
                                        'loop', 'true',
                                        'scale', 'showall',
                                        'wmode', 'window',
                                        'devicefont', 'false',
                                        'id', 'StatPlanet',
                                        'bgcolor', '#ffffff',
                                        'name', 'StatPlanet',
                                        'menu', 'true',
                                        'allowScriptAccess','sameDomain',
                                        'allowFullScreen','true',
                                        'movie', 'jakarta/StatPlanet',
                                        'salign', ''
                                    ); //end AC code
                                    } else {  // flash is too old or we can't detect the plugin
                                        var alternateContent = 'Alternate HTML content should be placed here.'
                                            + 'This content requires the Adobe Flash Player.'
                                            + '<a href=http://www.macromedia.com/go/getflash/>Get Flash</a>';
                                        document.write(alternateContent);  // insert non-flash content
                                    }
                                }
                                // -->
                            </script>
                        </div>
                    </div>
                    <!-- End Box -->
                </div>
                <!-- End Content -->
                <div class="cl">&nbsp;</div>			
            </div>
            <!-- Main -->
        </div>
    </div>
    <!-- End Container -->
<jsp:include page="../footer.jsp"></jsp:include>